﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Saxxon.LibDoomSharp
{
    /// <summary>
    /// An exception class used for library specific exceptions.
    /// </summary>
    public class LibDoomSharpException : Exception
    {
        string _Message;

        /// <summary>
        /// Instantiate a LibDoomSharpException with the specified message.
        /// </summary>
        public LibDoomSharpException(string message)
        {
            _Message = message;
        }

        /// <summary>
        /// Message describing the the exception.
        /// </summary>
        public override string Message
        {
            get
            {
                return this._Message;
            }
        }
    }
}
